import concentrationAlarm from '@/assets/marks/concentration-alarm.png';
import subwayStation from '@/assets/modelingMarks/地铁站.png';
import conventionCenter from '@/assets/modelingMarks/会展中心.png';
import trainStation from '@/assets/modelingMarks/火车站.png';
import reliefSupplies from '@/assets/modelingMarks/救灾物资储备库.png';
import busStation from '@/assets/modelingMarks/汽车站.png';
import longDistanceBusStation from '@/assets/modelingMarks/长途汽车站.png';
import sprinkler from '@/assets/modelingMarks/洒水车.png';
import forestFireStreet from '@/assets/modelingMarks/森林防火重点街道.png';
import rescueStation from '@/assets/modelingMarks/市应急联防救援站.png';
import parkingLot from '@/assets/modelingMarks/停车场.png';
import library from '@/assets/modelingMarks/图书馆.png';
import culturalPalace from '@/assets/modelingMarks/文化宫.png';
import materialPoint from '@/assets/modelingMarks/物资点位.png';
import fireTruck from '@/assets/modelingMarks/消防车.png';
import fireBrigade from '@/assets/modelingMarks/消防队.png';
import fireEquipment from '@/assets/modelingMarks/消防设备.png';
import fireStation from '@/assets/modelingMarks/消防站.png';
import keyFireUnit from '@/assets/modelingMarks/消防重点单位.png';
import residentialArea from '@/assets/modelingMarks/小区.png';
import hospital from '@/assets/modelingMarks/医院.png';
import keyUnit from '@/assets/modelingMarks/重点单位.png';
import geologicalHazard from '@/assets/modelingMarks/重点地质灾害点.png';
import school from '@/assets/marks/perimeter-school.png';
import camera from '@/assets/marks/video_mark.png';
import rescueTeam from '@/assets/marks/shiyingji.png';
import repairTeam from '@/assets/marks/perimeter-residential.png';

export function getUrl(item, name) {
  return getUrlHandler[name];
}

const getUrlHandler = {
  '浓度报警': concentrationAlarm,
  '地铁站': subwayStation,
  '会展中心': conventionCenter,
  '火车站': trainStation,
  '救灾物资储备库': reliefSupplies,
  '汽车站': busStation,
  '长途汽车站': longDistanceBusStation,
  '洒水车': sprinkler,
  '森林防火重点街道': forestFireStreet,
  '市应急联防救援站': rescueStation,
  '停车场': parkingLot,
  '图书馆': library,
  '文化宫': culturalPalace,
  '物资点位': materialPoint,
  '消防车': fireTruck,
  '消防队': fireBrigade,
  '消防设备': fireEquipment,
  '消防站': fireStation,
  '消防重点单位': keyFireUnit,
  '小区': residentialArea,
  '医院': hospital,
  '重点单位': keyUnit,
  '重点地质灾害点': geologicalHazard,
  '学校': school,
  '摄像头': camera,
  '救援队': rescueTeam,
  '抢修队': repairTeam
};
